﻿@model Adams.Public.DataTransfer.Web.Areas.Membership.Profile.Index.PageLoad
@{
    Layout = "~/Views/Shared/_MembershipLayout.cshtml";
}
@section Head{
}
<h1>
    My Profile</h1>
<div id="form">
    <div id="notif">
    </div>
    <div class="form-left">
        <div class="form-text">
            Email:</div>
        <div class="form-right">
            @Model.Member.Email <a href="/myadams/profile/email">change</a>
        </div>
    </div>
    <div class="form-left">
        <div class="form-text">
            Password:</div>
        <div class="form-right">
            (Hidden) <a href="/myadams/profile/password">change</a>
        </div>
    </div>
    <div class="form-left">
        <div class="form-text">
            General Information:</div>
        <div class="form-right">
            @Model.Member.FirstName @Model.Member.LastName - <a href="/myadams/profile/general">change</a>
            <br />@Model.Member.Street @Model.Member.Street2 
            <br />@Model.Member.City, @Model.Member.State @Model.Member.ZipCode
            <br />@Model.Member.Phone
        </div>
    </div>
    @*
    <div class="form-left">
        <div class="form-text">
            Credit Card:</div>
        <div class="form-right">
            @if (Model.HasCreditCard)
            {
                <text>XXXX-XXXX-XXXX-@Model.CreditCard.CardLast4Digits Expires: @Model.CreditCard.CardExpireMonth/@Model.CreditCard.CardExpireYear
                <a href="/myadams/profile/creditcard">change</a></text>
            }
            else
            {
                <a href="/myadams/profile/creditcard">Enter a Credit Card</a>
            }
        </div>
    </div>
    *@
    <div class="clear">
    </div>
</div>

@section Scripts {
    <script src="/Areas/Membership/Scripts/Profile/index.js" type="text/javascript"></script>
}
